// @ts-ignore
/* eslint-disable */
import request from "../request/request";

/** addPunchInRecords POST /api/punchInRecords/add */
export async function addPunchInRecordsUsingPost(body, options) {
  return request("/api/punchInRecords/add", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}

/** deletePunchInRecords POST /api/punchInRecords/delete */
export async function deletePunchInRecordsUsingPost(body, options) {
  return request("/api/punchInRecords/delete", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}

/** editPunchInRecords POST /api/punchInRecords/edit */
export async function editPunchInRecordsUsingPost(body, options) {
  return request("/api/punchInRecords/edit", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}

/** getPunchInRecordsVOById GET /api/punchInRecords/get/vo */
export async function getPunchInRecordsVoByIdUsingGet(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options
) {
  return request("/api/punchInRecords/get/vo", {
    method: "GET",
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** listPunchInRecordsByPage POST /api/punchInRecords/list/page */
export async function listPunchInRecordsByPageUsingPost(body, options) {
  return request("/api/punchInRecords/list/page", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}

/** listPunchInRecordsVOByPage POST /api/punchInRecords/list/page/vo */
export async function listPunchInRecordsVoByPageUsingPost(body, options) {
  return request("/api/punchInRecords/list/page/vo", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}

/** listMyPunchInRecordsVOByPage POST /api/punchInRecords/my/list/page/vo */
export async function listMyPunchInRecordsVoByPageUsingPost(body, options) {
  return request("/api/punchInRecords/my/list/page/vo", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}

/** updatePunchInRecords POST /api/punchInRecords/update */
export async function updatePunchInRecordsUsingPost(body, options) {
  return request("/api/punchInRecords/update", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}
